package com.xhsj.user.hr.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.xhsj.user.hr.system.entity.TbGlobalUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 用户和角色关联表 Mapper 接口
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-08
 */
@Mapper
public interface TbGlobalUserRoleMapper extends BaseMapper<TbGlobalUserRole> {

       /**
           * @Description:  创建人的角色
           * @Author: liuqinghua
           * @Date: 2020/12/21
           */
    List<Long> getCreateUserRoleId(@Param("createdUser") Long createdUser);
}
